package com.goldze.mvvmhabit.okgo;

public class Constants {

    public static final String BASE_URL = "http://39.108.37.108:8887/";

    public static final String CLASS_LIST = BASE_URL + "xboot/mobile/clazz/getAll";//注册需要的班级列表，为了班级人员管理
    public static final String REGISTER = BASE_URL + "xboot/mobile/register";
    public static final String PERSION_INFO_UPDATE = BASE_URL + "xboot/mobile/person/update";

    public static final String LOGIN = BASE_URL + "xboot/mobile/login";

    // 经度、维度、紧急联系人、创建者、创建时间、手机号、正常/疑似/隔离观察、班级ID、班级、身份证号
    public static final String PLAY_CARD = BASE_URL + "xboot/mobile/clock/addClock";//移动端打卡

    public static final String NEW_LIST = BASE_URL + "xboot/mobile/notice/getAll";//移动端消息通知列表

    public static final String EAT_UP = BASE_URL + "xboot/mobile/diet/addDiet";//饮食上报

    public static final String FOOD_LIST = BASE_URL + "xboot/mobile/food/getAll";//食物列表

    //获取新闻列表
    public static final String FIND_NEWS_LIST = BASE_URL + "xboot/mobile/news/getAll";//新闻列表
    public static final String FIND_NEWS_DETAIL = BASE_URL + "xboot/mobile/news/get/";//获取新闻详情

    //头像上传
    public static final String HEAD_IMG_UPDATE = BASE_URL + "xboot/upload/file";//头像上传

}
